package gwtroot.service;

import gwtroot.My.Aircraft;

import com.google.web.bindery.requestfactory.shared.Locator;

public class AircraftService extends Locator<Aircraft, Long> {

	public Aircraft create(Class<? extends Aircraft> clazz) {
		return new Aircraft();
	}

	public Long getId(Aircraft domainObject) {
		return domainObject.getId();
	}

	public Aircraft find(Class<? extends Aircraft> clazz, Long id) {
		return null;
	}

	public Object getVersion(Aircraft domainObject) {
		return domainObject.getVersion();
	}

	public Class<Aircraft> getDomainType() {
		return Aircraft.class;
	}

	public Class<Long> getIdType() {
		return Long.class;
	}

}
